<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Extra-Map-App</title>
    <!--<link rel="stylesheet" href="https://js.arcgis.com/4.4/esri/css/main.css">-->
    <link rel="stylesheet" href="http://127.0.0.1/arcgis_js_api/library/4.4/esri/css/main.css">
    <link rel="stylesheet" href="css/mainApp.css">
    <script src="../dist/config.js"></script>
    <!--<script src="https://js.arcgis.com/4.4/"></script>-->
    <script src="http://127.0.0.1/arcgis_js_api/library/4.4/init.js"></script>
    <script>
        // Load the Map and MapView modules
        require(["esri/Map",
            "esri/views/SceneView",
            "esri/config",
            "dextra/layers/GoogleImageLayer","esri/layers/OpenStreetMapLayer",
            "dojo/domReady!"], function(Map, SceneView,esriConfig,GoogleImageLayer,OpenStreetMapLayer) {
            esriConfig.request.proxyUrl="http://localhost/proxy/proxy.ashx"
            var layer=new GoogleImageLayer();
            var osm=new OpenStreetMapLayer();
            // Create a Map instance
            var myMap = new Map({
//                basemap:"topo"
                layers: [osm],
                viewingMode:"local"
            });

            console.log(layer);

            var view = new SceneView({
                container:"viewDiv",
                map: myMap
            });
        });
    </script>

</head>
<body>
<div id="viewDiv"></div>
</body>
</html>